package com.dykj.fireFighting.api.base.government.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * @Description VIEW
 * @Author JacksonTu
 * @Date  2022-04-26 13:59:47
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "VIEW")
@TableName("gov_list_api")
public class GovListApi extends Model<GovListApi> {
	private static final long serialVersionUID = 1L;

	@TableId
	private String id;
	/**
	 * 企业ID
	 */
	@ApiModelProperty(value = "企业ID")
	private String sid;
	/**
	 * 企业名称
	 */
    @ApiModelProperty(value = "企业名称")
	private String sname;
	/**
	 * 执法时间
	 */
    @ApiModelProperty(value = "执法时间")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
	private Date zftime;
	/**
	 * 现场概述图文
	 */
    @ApiModelProperty(value = "现场概述图文")
	private String xcgs;
	/**
	 * 处罚结果
	 */
    @ApiModelProperty(value = "处罚结果")
	private String cfjg;
	/**
	 * 整改情况
	 */
    @ApiModelProperty(value = "整改情况")
	private String zgqk;
	@TableField("is_del")
	@TableLogic
	private Integer isDel;

}
